AlterAuthorizationStatement.PrincipalName Property
Gets or sets the principal name. Will be nulla null reference (Nothing in Visual Basic) if ToSchemaOwner is true.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property PrincipalName As Identifier
Get
Set
'Usage
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)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
The principal name.