SqlObjectBase.GetSqlProperty Método
Retrieves the property field if it is legal for the usage, else throws. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Function GetSqlProperty ( _
field As String, _
usage As ObjectPropertyUsages _
) As SqlObjectProperty
'Uso
Dim instance As SqlObjectBase
Dim field As String
Dim usage As ObjectPropertyUsages
Dim returnValue As SqlObjectProperty
returnValue = instance.GetSqlProperty(field, _
usage)
public SqlObjectProperty GetSqlProperty(
string field,
ObjectPropertyUsages usage
)
public:
SqlObjectProperty^ GetSqlProperty(
String^ field,
ObjectPropertyUsages usage
)
member GetSqlProperty :
field:string *
usage:ObjectPropertyUsages -> SqlObjectProperty
public function GetSqlProperty(
field : String,
usage : ObjectPropertyUsages
) : SqlObjectProperty
Parámetros
- field
Tipo: System.String
The string that represents a property of an object.
- usage
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages
The usage of the property of an object.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SqlObjectProperty
The property field of an object.