次の方法で共有


Endpoint クラス

Endpoint クラスは、要求をネイティブでリッスンできるエンドポイント サービスを表します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<PhysicalFacetAttribute> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<StateChangeEventAttribute("ALTER_ENDPOINT", "ENDPOINT")> _
<StateChangeEventAttribute("CREATE_ENDPOINT", "ENDPOINT")> _
Public NotInheritable Class Endpoint _
    Inherits ScriptNameObjectBase _
    Implements ICreatable, IAlterable, IDroppable, IScriptable,  _
    IObjectPermission
'使用
Dim instance As Endpoint
[PhysicalFacetAttribute]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[StateChangeEventAttribute("ALTER_ENDPOINT", "ENDPOINT")]
[StateChangeEventAttribute("CREATE_ENDPOINT", "ENDPOINT")]
public sealed class Endpoint : ScriptNameObjectBase, 
    ICreatable, IAlterable, IDroppable, IScriptable, IObjectPermission
[PhysicalFacetAttribute]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[StateChangeEventAttribute(L"ALTER_ENDPOINT", L"ENDPOINT")]
[StateChangeEventAttribute(L"CREATE_ENDPOINT", L"ENDPOINT")]
public ref class Endpoint sealed : public ScriptNameObjectBase, 
    ICreatable, IAlterable, IDroppable, IScriptable, IObjectPermission
[<SealedAttribute>]
[<PhysicalFacetAttribute>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<StateChangeEventAttribute("ALTER_ENDPOINT", "ENDPOINT")>]
[<StateChangeEventAttribute("CREATE_ENDPOINT", "ENDPOINT")>]
type Endpoint =  
    class
        inherit ScriptNameObjectBase
        interface ICreatable
        interface IAlterable
        interface IDroppable
        interface IScriptable
        interface IObjectPermission
    end
public final class Endpoint extends ScriptNameObjectBase implements ICreatable, IAlterable, IDroppable, IScriptable, IObjectPermission

説明

Endpoint オブジェクトは、次のペイロードの種類に対するエンドポイント サービスを作成するために使用できます。

  • SOAP

  • Service Broker

  • Transact-SQL

  • データベース ミラーリング

Endpoint オブジェクト プロパティを取得するには、固定サーバー ロール public のメンバでも可能です。

Endpoint オブジェクトのプロパティを設定するには、ユーザーがエンドポイントの所有者であるか、サーバーの ALTER ANY ENDPOINT 権限を持っているか、固定サーバー ロール sysadmin のメンバであることが必要です。

エンドポイントを作成するには、サーバーの CREATE ANY ENDPOINT 権限を持っているか、固定サーバー ロール sysadmin のメンバであることが必要です。

エンドポイントを削除するには、エンドポイントの CONTROL 権限を持っているか、固定サーバー ロール sysadmin のメンバであることが必要です。

エンドポイントの停止、開始、または無効化を行うには、ユーザーがエンドポイントの所有者であるか、サーバーの ALTER ANY ENDPOINT 権限を持っているか、固定サーバー ロール sysadmin のメンバであることが必要です。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。