XdsObjects Help file
XdsObjects Namespace / XdsGlobal Class / NewOID Method



NewOID Method
Returns a new randomly generated OID. If the OIDRoot property has been set to a proper unique root UID/OID value, then the result is guaranteed to be unique, otherwise it is based on a default root, and though a clash is very unlikely, it is not impossible.
Syntax
Public Shared Function NewOID() As String
Dim value As String
 
value = XdsGlobal.NewOID()
public static string NewOID()
public:
static String^ NewOID(); 
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also