다음을 통해 공유


SqlSmoObject.ExecuteNonQuery 메서드

Executes a batch of statements that does not return a result set.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Protected Sub ExecuteNonQuery ( _
    queries As StringCollection, _
    includeDbContext As Boolean _
)
‘사용 방법
Dim queries As StringCollection 
Dim includeDbContext As Boolean 

Me.ExecuteNonQuery(queries, includeDbContext)
protected void ExecuteNonQuery(
    StringCollection queries,
    bool includeDbContext
)
protected:
void ExecuteNonQuery(
    StringCollection^ queries, 
    bool includeDbContext
)
member ExecuteNonQuery : 
        queries:StringCollection * 
        includeDbContext:bool -> unit
protected function ExecuteNonQuery(
    queries : StringCollection, 
    includeDbContext : boolean
)

매개 변수

  • includeDbContext
    유형: System.Boolean
    A Boolean value that indicates whether to include the database context.

참고 항목

참조

SqlSmoObject 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스