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 命名空间