ExecutionContextPrincipal Propiedad
Gets or sets the execution context principal for the stored procedure.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute> _
Public Property ExecutionContextPrincipal As String
Get
Set
'Uso
Dim instance As StoredProcedure
Dim value As String
value = instance.ExecutionContextPrincipal
instance.ExecutionContextPrincipal = value
[SfcPropertyAttribute]
public string ExecutionContextPrincipal { get; set; }
[SfcPropertyAttribute]
public:
property String^ ExecutionContextPrincipal {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
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 context in which the object is executed.
Notas
If the ExecutionContext property is set to ExecuteAsPrincipal, a value is required for the ExecutionContextPrincipal property.
Vea también