Gets the service instance GUID.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property ServiceInstanceGuid As Guid
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ServiceBase
Dim value As Guid
value = instance.ServiceInstanceGuid
|
C# | |
---|
public Guid ServiceInstanceGuid {get;}
|
C++/CLI | |
---|
public:
property Guid ServiceInstanceGuid {
Guid get();
}
|
Property Value
The service instance GUID.
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