ServiceQueue.ExecutionContextPrincipal 속성
Gets or sets the server principal for the activated procedure.
이 API는 CLS 규격이 아닙니다.
네임스페이스: Microsoft.SqlServer.Management.Smo.Broker
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcReferenceAttribute(GetType(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property ExecutionContextPrincipal As String
Get
Set
‘사용 방법
Dim instance As ServiceQueue
Dim value As String
value = instance.ExecutionContextPrincipal
instance.ExecutionContextPrincipal = value
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string ExecutionContextPrincipal { get; set; }
[SfcReferenceAttribute(typeof(User), L"Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
public:
property String^ ExecutionContextPrincipal {
String^ get ();
void set (String^ value);
}
[<SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']",
)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
member ExecutionContextPrincipal : string with get, set
function get ExecutionContextPrincipal () : String
function set ExecutionContextPrincipal (value : String)
속성 값
유형: System.String
A String value that specifies the server principal for the activated procedure.
예
Readme_ServiceBrokerConfiguration
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Broker 네임스페이스