共用方式為


IVMSecurity::GroupSid property

The GroupSid property contains the SID string of the group.

This property is read/write.

Syntax

HRESULT put_GroupSid(
  [in]  BSTR groupSid
);

HRESULT get_GroupSid(
  [out] BSTR *groupSid
);

VB
VMSecurity.GroupSid( _
  ByRef groupSid, _
  ByVal groupSid _
)

Property value

The SID string of the group.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The groupSid parameter was NULL.
E_INVALIDARG
The groupSid parameter was invalid or empty.
DISP_E_EXCEPTION
An unknown error has occurred.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMSecurity