Dela via


SfcInvalidKeyException Constructor (String)

Initializes a new instance of the SfcInvalidKeyException class using the specified key name. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Sub New ( _
    keyName As String _
)
'Usage
Dim keyName As String

Dim instance As New SfcInvalidKeyException(keyName)
public SfcInvalidKeyException(
    string keyName
)
public:
SfcInvalidKeyException(
    String^ keyName
)
new : 
        keyName:string -> SfcInvalidKeyException
public function SfcInvalidKeyException(
    keyName : String
)

Parameters

  • keyName
    Type: System.String
    The name of the key that is not valid.