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
请参阅
参考
Microsoft.SqlServer.Management.Smo.Broker 命名空间