Compartilhar via


Propriedade do RDL ExecutionContextPrincipal

Gets or sets the server principal for the activated procedure.

Essa API não é compatível com CLS. 

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<SfcReferenceAttribute(GetType(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",  _
    )> _
<CLSCompliantAttribute(False)> _
Public Property ExecutionContextPrincipal As String
    Get
    Set
'Uso
Dim instance As ServiceQueue
Dim value As String

value = instance.ExecutionContextPrincipal

instance.ExecutionContextPrincipal = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
    )]
[CLSCompliantAttribute(false)]
public string ExecutionContextPrincipal { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[SfcReferenceAttribute(typeof(User), L"Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
    )]
[CLSCompliantAttribute(false)]
public:
property String^ ExecutionContextPrincipal {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
    )>]
[<CLSCompliantAttribute(false)>]
member ExecutionContextPrincipal : string with get, set
function get ExecutionContextPrincipal () : String
function set ExecutionContextPrincipal (value : String)

Valor da propriedade

Tipo: System. . :: . .String
A String value that specifies the server principal for the activated procedure.