Share via


ServiceQueue.ProcedureName 속성

Gets or sets the name of the executing procedure.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Management.Smo.Broker
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<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
‘사용 방법
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)

속성 값

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

Readme_ServiceBrokerConfiguration

참고 항목

참조

ServiceQueue 클래스

Microsoft.SqlServer.Management.Smo.Broker 네임스페이스

관련 자료

개발(Service Broker)

Service Broker 관리

개요(Service Broker)

CREATE QUEUE(Transact-SQL)