NameKey 类
Identifies Microsoft.SqlServer.Utility objects that use a name property as an Sfc key.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
Microsoft.SqlServer.Management.Utility..::..NameKey
Microsoft.SqlServer.Management.Utility. . :: . .ManagedInstance. . :: . .Key
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
Public MustInherit Class NameKey _
Inherits SfcKey
用法
Dim instance As NameKey
public abstract class NameKey : SfcKey
public ref class NameKey abstract : public SfcKey
[<AbstractClassAttribute>]
type NameKey =
class
inherit SfcKey
end
public abstract class NameKey extends SfcKey
NameKey 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
Equals(Object) | Determines whether the object represented by the NameKey is equal to the specified Object. (覆盖 SfcKey. . :: . .Equals(Object)。) | |
Equals(SfcKey) | Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (覆盖 SfcKey. . :: . .Equals(SfcKey)。) | |
Equals(Object, Object) | Determines whether the two specified objects are equal. | |
Finalize | (从 Object 继承。) | |
GetHashCode | Returns the hash code for this NameKey. (覆盖 SfcKey. . :: . .GetHashCode() () () ()。) | |
GetType | (从 Object 继承。) | |
GetUrnFragment | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets the unique resource name (URN) path partial string that represents the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].. (从 SfcKey 继承。) | |
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, NameKey) | Determines whether the the specified Object is the same as the object represented by the specified NameKey . | |
Equality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are the same. | |
Equality(NameKey, Object) | Determines whether the object represented by the specified NameKey is the same as the specified Object. | |
Inequality(Object, NameKey) | Determines whether the the specified Object is different than the object represented by the specified NameKey . | |
Inequality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are different. | |
Inequality(NameKey, Object) | Determines whether the object represented by the specified NameKey is different than the specified Object. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。