다음을 통해 공유


ServerAlias 생성자 (ManagedComputer, String)

Initializes a new instance of the ServerAlias class on the specified WMI installation and with the specified name.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Wmi
어셈블리:  Microsoft.SqlServer.SqlWmiManagement.dll의 Microsoft.SqlServer.SqlWmiManagement

구문

‘선언
Public Sub New ( _
    managedComputer As ManagedComputer, _
    name As String _
)
‘사용 방법
Dim managedComputer As ManagedComputer
Dim name As String

Dim instance As New ServerAlias(managedComputer, _
    name)
public ServerAlias(
    ManagedComputer managedComputer,
    string name
)
public:
ServerAlias(
    ManagedComputer^ managedComputer, 
    String^ name
)
new : 
        managedComputer:ManagedComputer * 
        name:string -> ServerAlias
public function ServerAlias(
    managedComputer : ManagedComputer, 
    name : String
)

매개 변수