This document is archived and information here might be outdated.  Recommended version.


IDataServerManagerAdmin Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesGDB)  

IDataServerManagerAdmin Interface

Provides access to administration functions of a Data Server.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IDataServerManagerAdmin interface allows you to administer a Database Server.

When To Use

Use this inteface to perform operations such as creating and deleting Geodatabases, adding or deleting logins, backing up Geodatabases, etc.

Members

Description
Method Analyze Updates the statistics for a Geodatabase.
Method AttachGeodatabase Attachs an existing database to a server.
Method BackupGeodatabase Performs a full backup on the specified Geodatabase.
Method CreateGeodatabase Creates a new Geodatabase.
Method CreateLogin Creates a new login.
Method CreateWorkspaceName Creates a Workspace Name object to the Geodatabase.
Method DeleteGeodatabase Deletes a Geodatabase.
Method DeleteLogin Deletes a login.
Method DetachGeodatabase Detachs a database from a server.
Method GetConnectedUsers Gets active users.
Method GetDBProperties Returns various properties on a Database.
Method GetFileProperties Return various properties on a database file.
Method GetGeodatabaseName Returns the Database name from the database file.
Method GetGeodatabaseNames Returns a list of Geodatabse names.
Method GetLogins Returns a list logins and associated information.
Method GetServerAdministrators Gets a list of server administrators.
Method GetUsersByPermissionType Get Users in by the Permission type.
Read-only property IsConnectedUserAdministrator Indicates whether the connected user is an administrator or not.
Method IsSimpleRecoveryModel Returns whether the Geodatabase is in simple recovery model or not.
Method ModifyGeodatabaseSecurity Modify a login's database security.
Method ModifyLoginSecurity Modify a login's server security.
Method RebuildIndices Rebuilds the indices on all tables in a Geodatabase.
Method RestoreGeodatabase Restores a backup for the specified Geodatabase.
Method SetGeodatabaseToSimpleRecoveryModel Sets a Geodatabase to simple recovery model.
Method ShrinkGeodatabase Shrinks the size of a Geodatabase and frees up unused space.
Method UpgradeGeoDatabase Upgrades a Geodatabase.
Method UpgradeSDESchema Upgrades the SDE schema.

CoClasses that implement IDataServerManagerAdmin

CoClasses and Classes Description
DataServerManager Object to administer a Data Server.

Remarks

You must first be connected to perform administration operations and be an administrator on the Database Server.

.NET Related Topics

Connecting to geodatabases and databases | Creating geodatabases | DataSourcesGDB