RegisteredServer.ServerInstance 속성
Gets or sets the instance of SQL Server that is the registered server.
네임스페이스: Microsoft.SqlServer.Management.Smo.RegisteredServers
어셈블리: Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property ServerInstance As String
Get
Set
‘사용 방법
Dim instance As RegisteredServer
Dim value As String
value = instance.ServerInstance
instance.ServerInstance = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string ServerInstance { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ ServerInstance {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member ServerInstance : string with get, set
function get ServerInstance () : String
function set ServerInstance (value : String)
속성 값
유형: System.String
A String value that specifies the instance of SQL Server that is the registered server.
참고 항목
참조
Microsoft.SqlServer.Management.Smo.RegisteredServers 네임스페이스