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> _
Public Property ServerInstance As String
Get
Set
用法
Dim instance As RegisteredServer
Dim value As String
value = instance.ServerInstance
instance.ServerInstance = value
[SfcPropertyAttribute]
public string ServerInstance { get; set; }
[SfcPropertyAttribute]
public:
property String^ ServerInstance {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
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.