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


IDatabaseConnectionInfo4.GenerateDefaultRealm Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDatabaseConnectionInfo4.GenerateDefaultRealm Method

The default qualifier used to create fully qualified names for Editor Tracking.

[Visual Basic .NET]
Public Function GenerateDefaultRealm ( _
) As String
[C#]
public string GenerateDefaultRealm (
);
[C++]
HRESULT GenerateDefaultRealm(
  BSTR* defaultRealm
);
[C++]

Parameters defaultRealm [out, retval] defaultRealm is a parameter of type BSTR

Product Availability

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

Description

GenerateDefaultRealm returns a default realm for a workspace for use in editor tracking.

Remarks

When setting a realm, you can set either a custom realm which can be any string, or a default realm you can retrieve with GenerateDefaultRealm. To set a default realm, set IDatabaseConnectionInfo4.Realm to the string returned by GenerateDefaultRealm.  

See Also

IDatabaseConnectionInfo4 Interface