共用方式為


ManagedInstance.Key 建構函式

Initializes a new instance of the ManagedInstance.Key class that has the specified name.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Public Sub New ( _
    managedInstanceName As String _
)
'用途
Dim managedInstanceName As String 

Dim instance As New ManagedInstance.Key(managedInstanceName)
public Key(
    string managedInstanceName
)
public:
Key(
    String^ managedInstanceName
)
new : 
        managedInstanceName:string -> Key
public function ManagedInstance.Key(
    managedInstanceName : String
)

參數

  • managedInstanceName
    型別:System.String
    A String value that specifies the name of the key.

請參閱

參考

ManagedInstance.Key 類別

Microsoft.SqlServer.Management.Utility 命名空間