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



In This Topic
    Name Property
    In This Topic
    Gets or sets the name of the trustee.
    Syntax
    'Declaration
     
    
    Public Property Name As String
    'Usage
     
    
    Dim instance As Trustee
    Dim value As String
     
    instance.Name = value
     
    value = instance.Name
    public string Name {get; set;}
    public:
    property String^ Name {
       String^ get();
       void set (    String^ value);
    }

    Property Value

    The name of the account to which the new rights will be assigned. The default is null.
    Exceptions
    ExceptionDescription
    The Name property 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