This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.GetConfiguration Method (ArcObjects .NET 10.4 SDK) |
Get the server object configuration with the specified Name and TypeName.
[Visual Basic .NET] Public Function GetConfiguration ( _ ByVal Name As String, _ ByVal TypeName As String _ ) As IServerObjectConfiguration
[C#] public IServerObjectConfiguration GetConfiguration ( string Name, string TypeName );
[C++]
HRESULT GetConfiguration(
BSTR Name,
BSTR TypeName,
IServerObjectConfiguration** config
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR TypeName [in] TypeName is a parameter of type BSTR config [out, retval]
config is a parameter of type IServerObjectConfiguration
The GetConfiguration method returns the IServerObjectConfiguration interface on the ServerObjectConfiguration specified by name and type. Once you have a reference to the ServerObjectConfiguration, you can get and set its properties, and use it as input the UpdateConfiguration method.