Partager via


Propriété ProcedureName

Gets or sets the name of the executing 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
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(StoredProcedure), "Server[@Name = '{0}']/Database[@Name = '{1}']/StoredProcedure[@Name='{2}' and @Schema='{3}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProcedureName As String
    Get
    Set
'Utilisation
Dim instance As ServiceQueue
Dim value As String

value = instance.ProcedureName

instance.ProcedureName = value
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(StoredProcedure), "Server[@Name = '{0}']/Database[@Name = '{1}']/StoredProcedure[@Name='{2}' and @Schema='{3}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ProcedureName { get; set; }
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(StoredProcedure), L"Server[@Name = '{0}']/Database[@Name = '{1}']/StoredProcedure[@Name='{2}' and @Schema='{3}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ProcedureName {
    String^ get ();
    void set (String^ value);
}
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(StoredProcedure), "Server[@Name = '{0}']/Database[@Name = '{1}']/StoredProcedure[@Name='{2}' and @Schema='{3}']", 
    )>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ProcedureName : string with get, set
function get ProcedureName () : String
function set ProcedureName (value : String)

Valeur de propriété

Type : System. . :: . .String
A String value that specifies the name of the executing procedure.