共用方式為


SfcPropertyCollection.IsAvailable 方法

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Function IsAvailable ( _
    propertyName As String _
) As Boolean
'用途
Dim instance As SfcPropertyCollection 
Dim propertyName As String 
Dim returnValue As Boolean 

returnValue = instance.IsAvailable(propertyName)
public bool IsAvailable(
    string propertyName
)
public:
bool IsAvailable(
    String^ propertyName
)
member IsAvailable : 
        propertyName:string -> bool
public function IsAvailable(
    propertyName : String
) : boolean

參數

  • propertyName
    型別:System.String
    A string that represents the property name.

傳回值

型別:System.Boolean
true if an index is available in the property collection; otherwise, false.

請參閱

參考

SfcPropertyCollection 類別

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