AlterAuthorizationStatement.PrincipalName 屬性

Gets or sets the principal name. Will be nullnull 參考 (在 Visual Basic 中為 Nothing) if ToSchemaOwner is true.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property PrincipalName As Identifier 
    Get 
    Set
'用途
Dim instance As AlterAuthorizationStatement 
Dim value As Identifier 

value = instance.PrincipalName

instance.PrincipalName = value
public Identifier PrincipalName { get; set; }
public:
property Identifier^ PrincipalName {
    Identifier^ get ();
    void set (Identifier^ value);
}
member PrincipalName : Identifier with get, set
function get PrincipalName () : Identifier 
function set PrincipalName (value : Identifier)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
The principal name.

請參閱

參考

AlterAuthorizationStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間