System.Messaging Reference (Document! X Sample)



System.Messaging Namespace > Trustee Class > Trustee Constructor : Trustee Constructor(String,String,TrusteeType)
The value to assign to the Name property.
The value to assign to the SystemName property.
A TrusteeType that indicates the account type of the trustee.
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)

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
ExceptionDescription
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