ExecutionContext propriété
Gets or sets the execution context for the stored procedure.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute> _
Public Property ExecutionContext As ExecutionContext
Get
Set
'Utilisation
Dim instance As StoredProcedure
Dim value As ExecutionContext
value = instance.ExecutionContext
instance.ExecutionContext = value
[SfcPropertyAttribute]
public ExecutionContext ExecutionContext { get; set; }
[SfcPropertyAttribute]
public:
property ExecutionContext ExecutionContext {
ExecutionContext get ();
void set (ExecutionContext value);
}
[<SfcPropertyAttribute>]
member ExecutionContext : ExecutionContext with get, set
function get ExecutionContext () : ExecutionContext
function set ExecutionContext (value : ExecutionContext)
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .ExecutionContext
An ExecutionContext object value that specifies the execution context of the stored procedure.
Notes
If the ExecutionContext property is set to ExecuteAsPrincipal, a value is required for the ExecutionContextPrincipal property.
Voir aussi