SecurityPrincipal.PrincipalType 属性

获取或设置主体的类型。

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
Public Property PrincipalType As PrincipalType
    Get
    Set
public PrincipalType PrincipalType { get; set; }
public:
property PrincipalType PrincipalType {
    PrincipalType get ();
    void set (PrincipalType value);
}
member PrincipalType : PrincipalType with get, set
function get PrincipalType () : PrincipalType
function set PrincipalType (value : PrincipalType)

属性值

类型:Microsoft.Data.Schema.ScriptDom.Sql.PrincipalType
返回一个 PrincipalType 枚举值。

.NET Framework 安全性

请参见

参考

SecurityPrincipal 类

Microsoft.Data.Schema.ScriptDom.Sql 命名空间