Dela via


SecurityPrincipal.PrincipalType Property

Gets or sets the type of the principal.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property PrincipalType As PrincipalType
'Usage
Dim instance As SecurityPrincipal 
Dim value As PrincipalType 

value = instance.PrincipalType

instance.PrincipalType = value
public PrincipalType PrincipalType { get; set; }
public:
property PrincipalType PrincipalType {
    PrincipalType get ();
    void set (PrincipalType value);
}
public function get PrincipalType () : PrincipalType 
public function set PrincipalType (value : PrincipalType)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.PrincipalType
Returns a PrincipalType enumeration value.

.NET Framework Security

See Also

Reference

SecurityPrincipal Class

SecurityPrincipal Members

Microsoft.Data.Schema.ScriptDom.Sql Namespace