ExecutionContextPrincipal Propiedad
Gets or sets the server principal for the activated procedure.
Esta API no es compatible con CLS.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Broker
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<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 de la propiedad
Tipo: System. . :: . .String
A String value that specifies the server principal for the activated procedure.