Propriété ServiceQueue.ExecutionContextPrincipal
Gets or sets the server principal for the activated procedure.
Cette API n'est pas conforme CLS.
Espace de noms : Microsoft.SqlServer.Management.Smo.Broker
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcReferenceAttribute(GetType(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property ExecutionContextPrincipal As String
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System.String
A String value that specifies the server principal for the activated procedure.
Exemples
Readme_ServiceBrokerConfiguration
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Broker
Autres ressources
Développement (Service Broker)