DacInstance.Key 类
The DacInstance..::..Key class represents the key that identifies the DacInstance class.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
Microsoft.SqlServer.Management.Dac..::..DacInstance..::..Key
命名空间: Microsoft.SqlServer.Management.Dac
程序集: Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)
语法
声明
Public NotInheritable Class Key _
Inherits SfcKey
用法
Dim instance As DacInstance.Key
public sealed class Key : SfcKey
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
type Key =
class
inherit SfcKey
end
public final class Key extends SfcKey
DacInstance..::..Key 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DacInstance. . :: . .Key() () () () | Initializes a new instance of the DacInstance..::..Key class that has the specified name. | |
DacInstance. . :: . .Key(String) | Initializes a new instance of the DacInstance..::..Key class that has the specified name. | |
DacInstance. . :: . .Key(DacInstance. . :: . .Key) | Initializes a new instance of the DacInstance..::..Key class based on the specified key. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals(Object) | Determines whether the specified object key is equal to the referenced object key. (覆盖 SfcKey. . :: . .Equals(Object)。) | |
Equals(SfcKey) | Determines whether the specified object key is equal to the referenced object key. (覆盖 SfcKey. . :: . .Equals(SfcKey)。) | |
Equals(Object, Object) | Determines whether the specified object key is equal to the referenced object key. | |
Finalize | (从 Object 继承。) | |
GetHashCode | Gets the hash code for the object. (覆盖 SfcKey. . :: . .GetHashCode() () () ()。) | |
GetType | (从 Object 继承。) | |
GetUrnFragment | Gets the unique resource name (URN) path partial string that represents the DAC package. (覆盖 SfcKey. . :: . .GetUrnFragment() () () ()。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Returns a String value that is a sortable representation of the object that can be used in external comparers. (从 SfcKey 继承。) |
页首
运算符
名称 | 说明 | |
---|---|---|
Equality(Object, DacInstance. . :: . .Key) | Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance. | |
Equality(DacInstance. . :: . .Key, DacInstance. . :: . .Key) | Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance. | |
Equality(DacInstance. . :: . .Key, Object) | Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance. | |
Inequality(Object, DacInstance. . :: . .Key) | Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance. | |
Inequality(DacInstance. . :: . .Key, DacInstance. . :: . .Key) | Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance. | |
Inequality(DacInstance. . :: . .Key, Object) | Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance. |
页首
注释
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。