Trustee Constructor(String,String,TrusteeType)
Initializes a new instance of the Trustee class of the specified type, setting the Name and the SystemName properties to the values specified.
Syntax
'Declaration Public Function New( _ ByVal name As String, _ ByVal systemName As String, _ ByVal trusteeType As TrusteeType _ )
'Usage Dim name As String Dim systemName As String Dim trusteeType As TrusteeType Dim instance As New Trustee(name, systemName, trusteeType)
public Trustee( string name, string systemName, TrusteeType trusteeType )
public: Trustee( String^ name, String^ systemName, TrusteeType trusteeType )
Parameters
- name
- The value to assign to the Name property.
- systemName
- The value to assign to the SystemName property.
- trusteeType
- A TrusteeType that indicates the account type of the trustee.
Exceptions
Exception | Description |
---|---|
System.ArgumentNullException | The name parameter is null. |
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