InstanceName 屬性
Gets the name of the instance of SQL Server.
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property InstanceName As String
Get
'用途
Dim instance As ManagedInstance
Dim value As String
value = instance.InstanceName
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string InstanceName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ InstanceName {
String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member InstanceName : string
function get InstanceName () : String
屬性值
型別:System. . :: . .String
A String value that specifies the name of the instance of SQL Server.