Share via


DeployedDac.Key.ServerInstanceName Property

Gets the name of the server instance associated with the key.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public ReadOnly Property ServerInstanceName As String
    Get
'Usage
Dim instance As DeployedDac..::..Key
Dim value As String

value = instance.ServerInstanceName
public string ServerInstanceName { get; }
public:
property String^ ServerInstanceName {
    String^ get ();
}
member ServerInstanceName : string
function get ServerInstanceName () : String

Property Value

Type: System.String
A String value that specifies the name of the server instance associated with the key.