Propriedade do RDL ServiceQueue.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
<SfcReferenceAttribute(GetType(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property ExecutionContextPrincipal As String
Get
Set
'Uso
Dim instance As ServiceQueue
Dim value As String
value = instance.ExecutionContextPrincipal
instance.ExecutionContextPrincipal = value
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string ExecutionContextPrincipal { get; set; }
[SfcReferenceAttribute(typeof(User), L"Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
public:
property String^ ExecutionContextPrincipal {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<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.
Exemplos
Readme_ServiceBrokerConfiguration
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Broker