NamedKey<T> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NamedKey<T>() |
Default constructor for a name key. |
NamedKey<T>(NamedKey<T>) |
Construct a name key from another name key. |
NamedKey<T>(IDictionary<String,Object>) |
Construct a name key from a field dictionary. |
NamedKey<T>(String) |
Construct a name key from a string. |
Construct a name key from another name key.
public NamedKey (Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T> other);
new Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> : Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> -> Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)>
Public Sub New (other As NamedKey(Of T))
Parameters
- other
- NamedKey<T>
The other name key.
Applies to
Construct a name key from a field dictionary.
public NamedKey (System.Collections.Generic.IDictionary<string,object> fields);
new Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> : System.Collections.Generic.IDictionary<string, obj> -> Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)>
Public Sub New (fields As IDictionary(Of String, Object))
Parameters
- fields
- IDictionary<String,Object>
The dictionary of field value pairs.
Applies to
Construct a name key from a string.
public NamedKey (string name);
new Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)> : string -> Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<'T (requires 'T :> Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance)>
Public Sub New (name As String)
Parameters
- name
- String
The name string.