System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / Trustee Class / TrusteeType Property



In This Topic
    TrusteeType Property
    In This Topic
    Gets or sets the type of the trustee, which identifies whether the trustee is a user, group, computer, domain, or alias.
    Syntax
    'Declaration
     
    
    Public Property TrusteeType As TrusteeType
    'Usage
     
    
    Dim instance As Trustee
    Dim value As TrusteeType
     
    instance.TrusteeType = value
     
    value = instance.TrusteeType
    public TrusteeType TrusteeType {get; set;}
    public:
    property TrusteeType TrusteeType {
       TrusteeType get();
       void set (    TrusteeType value);
    }

    Property Value

    A TrusteeType that indicates what type of account the trustee has on the system. The default is Unknown.
    Exceptions
    ExceptionDescription
    The trustee type specified is not one of the TrusteeType enumeration members.
    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