Server.Endpoints Server.Endpoints Server.Endpoints Property


컬렉션을 나타냅니다 Endpoint 개체입니다. Represents a collection of Endpoint objects. Endpoint 개체의 SQL Server 인스턴스에 정의 된 끝점을 나타냅니다. Each Endpoint object represents an endpoint defined on the instance of SQL Server.

 property Microsoft::SqlServer::Management::Smo::EndpointCollection ^ Endpoints { Microsoft::SqlServer::Management::Smo::EndpointCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.Endpoint))]
public Microsoft.SqlServer.Management.Smo.EndpointCollection Endpoints { get; }
Public ReadOnly Property Endpoints As EndpointCollection
속성 값

EndpointCollection SQL Server의 인스턴스에 정의 된 모든 끝점을 나타내는 개체입니다. An EndpointCollection object that represents all the endpoints defined on the instance of SQL Server.


Visual BasicVisual Basic


$srv = new-object Microsoft.SqlServer.Management.Smo.Server("(local)")  
$ep = new-object Microsoft.SqlServer.Management.Smo.Endpoint($srv, "Mirroring Endpoint")  
$ep.ProtocolType = [Microsoft.SqlServer.Management.Smo.ProtocolType]::Tcp  
$ep.EndpointType = [Microsoft.SqlServer.Management.Smo.EndpointType]::DatabaseMirroring  
$ep.Protocol.Http.SslPort = 5024  
$ep.Protocol.Tcp.ListenerPort = 6666  
$ep.Payload.DatabaseMirroring.ServerMirroringRole = [Microsoft.SqlServer.Management.Smo.ServerMirroringRole]::All  
Write-Host $ep.EndpointState  


Endpoint 클래스는 SQL Server 서비스에 대한 네트워크를 통한 연결을 관리하는 데 사용됩니다.The Endpoint class is used to manage connections over the network for SQL Server services. 여기에는 데이터베이스 미러링, SQL Server, Transact-SQL 및 SOAP 요청이 포함됩니다.These include database mirroring, SQL Server, Transact-SQL, and SOAP requests. 이를 페이로드 유형이라고도 합니다.These are also referred to as the payload types.

적용 대상