Udostępnij przez


Metoda SfcPropertyCollection.IsAvailable

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Function IsAvailable ( _
    propertyName As String _
) As Boolean
'Użycie
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

Parametry

  • propertyName
    Typ: System.String
    Ciąg, który reprezentuje nazwę właściwość.

Wartość zwracana

Typ: System.Boolean
TRUE Jeżeli indeks jest dostępny kolekcja właściwość; w przeciwnym razie false.