Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Gets or sets the login under the context of which the server DDL trigger executes.
Esta API no es compatible con CLS.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcReferenceAttribute(GetType(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property ExecutionContextLogin As String
Get
Set
'Uso
Dim instance As ServerDdlTrigger
Dim value As String
value = instance.ExecutionContextLogin
instance.ExecutionContextLogin = value
[SfcReferenceAttribute(typeof(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string ExecutionContextLogin { get; set; }
[SfcReferenceAttribute(typeof(Login), L"Server[@Name = '{0}']/Login[@Name = '{1}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
public:
property String^ ExecutionContextLogin {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
member ExecutionContextLogin : string with get, set
function get ExecutionContextLogin () : String
function set ExecutionContextLogin (value : String)
Valor de la propiedad
Tipo: System.String
A ServerDdlTriggerEventSet object that specifies the events that raise the server DDL trigger.
Comentarios
This property is required only when the ExecutionContext property is set to ExecuteAsLogin.
Ejemplos
Crear, modificar y eliminar desencadenadores
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo