共用方式為


SfcProperty.CompareTo 方法

Compares the property object to another object. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Function CompareTo ( _
    obj As Object _
) As Integer
'用途
Dim instance As SfcProperty 
Dim obj As Object 
Dim returnValue As Integer 

returnValue = instance.CompareTo(obj)
public int CompareTo(
    Object obj
)
public:
int CompareTo(
    Object^ obj
)
member CompareTo : 
        obj:Object -> int
public function CompareTo(
    obj : Object
) : int

參數

  • obj
    型別:System.Object
    An Object value that specifies the object with which to compare the Property object.

傳回值

型別:System.Int32
An integer value that describes the result of the comparison.

請參閱

參考

SfcProperty 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間